package cn.yshujia.service.impl;

import cn.yshujia.repository.SMRepository;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author YShuJia
 * @create 2025/1/3
 * @description AuthorizeServiceImpl
 */

@Service
public class AuthorizeServiceImpl {
	
	@Resource
	private SMRepository smRepository;
	
	public String exchangeSm2Key() {
		// 返回后端公钥
		return smRepository.getPublicKey();
	}
}
